package hiring.tong.com.common;

import java.util.ResourceBundle;

public class Util {
	private final static String name="jdbc";
	
	//指定配置文件名读取相关配置信息
	public static String getBundle(String baseName, String key){
		return ResourceBundle.getBundle(baseName).getString(key);	
	}
	//读取JDBC文件里的相关信息
	public static String getJdbc(String key){
		return getBundle(name,key);
	}
}
